package cn.zysheep.fastjson;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * POJO 对象属性建议使用包装类型，因为基本类型会存在默认值的问题，而包装类型默认为 null.
 * @version v1.0
 * @Author: lyw
 * @Date: 2021/8/12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Person {
    private Integer id;
    private String name;
    private LocalDateTime birthday;
    private Boolean marry;
    private Float price;
}
